.search-help-link {
  display: none;
}

.item-list .search-results {
  padding: 0;
}

.item-list .search-results li {
  margin: 2.5rem 0 1rem 0;
}

.item-list .search-results li:first-child {
  margin-top: 1rem;
}

.item-list .search-results li h3 {
  margin: 0;
}

.item-list .search-results li p {
  line-height: 1.3em;
  font-size: 13px;
  margin: .25rem 0 .5rem 0;
}

.search-form>.form-wrapper:first-child {
  padding: 1em;
  background-color: #eee;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.search-form>.form-wrapper:first-child:before {
  content: '';
  width: 100vw;
  height: 100%;
  position: absolute;
  left: -1rem;
  top: 0;
  background-color: #eee;
  z-index: -1;
}

.search-form>.form-wrapper>input {
  width: 100%;
  margin: 0;
}

.search-form .form-item {
  display: flex;
  flex-direction: column;
}

.search-form .form-item label {
  display: inline-block;
  width: 100%;
}

.search-form .form-item input {
  padding: 1em .5em;
  border: 1px solid #ccc;
  outline: none;
  display: inline-block;
  box-sizing: border-box;
  margin-top: 1em;
  width: 100%;
}

.search-form .form-item input:focus {
  border: 1px solid #666;
}


@media (min-width: 768px) {
  .search-form>.form-wrapper:first-child {
    flex-direction: row;
  }

  .search-form>.form-wrapper:first-child:before {
    display: none;
  }

  .search-form>.form-wrapper>input {
    width: 50px;
    margin: 0 0 0 1em;
    box-sizing: content-box;
  }

  .search-form .form-item {
    /* flex-direction: row;  */
    display: inline;
    margin: 0;
    width: calc(100% - 3rem);
  }

  .search-form .form-item label {
    width: 150px;
    margin-right: 1em;
    box-sizing: content-box;
  }

  .search-form .form-item input {
    width: calc(100% - 156px - 2em);
    margin-top: 0;
    box-sizing: content-box;
  }
}



/*PAGINA SEARCH */
.view-custom-search .views-row {
  margin: 1rem 0rem;
  padding: 18px 30px;
}

.view-custom-search .form--inline >div>label,
.view-custom-search .view-filters legend span.fieldset-legend {
color: #A1A1A1;
font-size: 14px;
font-weight: 400;
}

.view-custom-search .view-filters .views-exposed-form >  .form--inline{
  display: grid;
  grid-gap: 0px 4%;
  grid-template-columns: 40% 34% 18%;
}

.view-custom-search .views-row:nth-child(odd) {
  background-color: #FAFAFA;
}

.view-custom-search .views-row .field-content{
  display: block;
  margin: 0;
}

.view-custom-search .view-filters .views-exposed-form {
  max-height: none;
}

.view-custom-search .view-filters .form-radios input {
  -webkit-appearance: auto;
  margin: 0px 6px 0px 0px;
  width: 20px;
}

.view-custom-search .view-filters  .form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-area:1 / 3 / span 1;
}

.view-custom-search .view-filters  .form-actions input{
  padding: 12px 41px;
  margin-top: 8px;
  left: 0;
  position: relative;
}

.view-custom-search .view-filters fieldset:first-child{
  grid-area: 1 / 2 / span 1;
}

.view-custom-search .view-filters fieldset .form-radios {
  padding-top: 3px;
  margin-right: 0;
}
.view-custom-search .view-filters fieldset .form-radios .form-radios > div{
  display: flex;
  margin-right: 20px;
  align-items: center;
}

.view-custom-search .view-filters fieldset#edit-sort-order--wrapper{
  display: none;
}

.view-custom-search .views-row .views-field-title a {
  color: #0073AE;
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.view-custom-search .views-row .views-field-title a:hover {
  color: #7ab4d0;
  transition: 0.2s ease;
}

.view-custom-search .views-row .views-field-body .field-content {
  color: #A1A1A1;
  line-height: 1.6em;
  margin: 7px 0rem 1rem 0rem;
  display: block;
  font-size: 14px;
}

.view-custom-search .views-row .metadata {
  color: #333;
  display: flex;
}

.view-custom-search .views-row .metadata span {
  margin: 0px 5px;
}

.view-custom-search .views-row .views-field-type {
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
  font-size: 13px;
}

@media (min-width:576px){
  .view-custom-search .view-filters .form-actions{
  position: relative;
  right: -10px;
 }
}

@media (max-width:576px){
  .view-custom-search .view-filters .form-actions input {
    padding: 12px 16px;
    width: 80px;
  }
}


@media (max-width:1280px){

  .view-custom-search .view-filters .views-exposed-form > .form--inline {
    display: grid;
    grid-gap: 0px;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 41% 31% 26%;
  }

  /* keywords */
  .view-custom-search .view-filters .views-exposed-form > .form--inline>div:first-child {
    grid-area: 1 / 1 / span 1 / span 4;
  }

  /*sort by*/
  .view-custom-search .view-filters .views-exposed-form > .form--inline>fieldset {
    grid-area: 2 / 1 / span 1 / span 4;
  }

  .view-custom-search .view-filters .form-actions {
    grid-area:3 / 4 / span 1 / span 1;
  }

}


@media (min-width:1024px){
  .view-custom-search .views-row .views-field-title a {
    font-size: 20px;
  }
  .view-custom-search .views-row .views-field-title a {
    font-size: 20px;
  }
}
